package com.sls.game.service;

import com.sls.core.socket.Head;
import com.sls.game.page.Pagination;
import com.sls.game.pojo.xinhe.XinHeProduct;
import com.sls.game.pojo.xinhe.XinHeRespInfo;

public interface XinHeService {

	/**
	 * 同步充值模板
	 */
	public void saveSyncInfo(Head head);

	/**
	 * 更新充值模板
	 * 
	 * @param body
	 * @param head
	 */
	public void updateTemplateInfo(String body, Head head);

	/**
	 * 异步通知，修改订单状态
	 * 
	 * @param body
	 * @param head
	 */
	public void updateOrderStatus(String body, Head head);
	
	/**
	 * 分页查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public Pagination<XinHeProduct> queryXHProPagination(String body,
			Head head);
	
	/**
	 * 详情查询
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public XinHeProduct queryXHProductById(String body, Head head);
	
	
	public void update(String body, Head head);
	
	public XinHeRespInfo queryOrder(String body, Head head);

}
